<template>
  <div>
    <flow-chart @editClick="handleEditClick" @delClick="handleDelClick"></flow-chart>
  </div>
</template>

<script>
import FlowChart from '@/components/flowchart'

export default {
  methods: {
    handleEditClick (item) {
      console.log(item)
    },
    handleDelClick (item) {
      console.log(item)
    }
  },
  components: {
    FlowChart
  }
}
</script>

<style>

</style>
